﻿using PMP.Core.Enums;

namespace PMP.Core.Models;

public class JwtUser
{
    /// <summary>
    /// 平台的用户Id
    /// </summary>
    public int UserId { get; set; } = 0;
    /// <summary>
    /// 用户名
    /// </summary>
    public string UserName { get; set; } = "";
    /// <summary>
    /// 真实姓名
    /// </summary>
    public string RealName { get; set; } = "";
    /// <summary>
    /// 用户等级
    /// </summary>
    public EnumUserLevel UserLevel { get; set; } = EnumUserLevel.Level0;
}

public class JwtTokenModel
{
    public string AccessToken { get; set; } = "";
    public string RefreshToken { get; set; } = "";
}